// 获取图片封面
export const getMedieUrl = (url) => {
  if (!url) {
    return require("@/assets/401_images/401.gif")
  } else {
    return url //OSS 缩略图规则
  }
}
// 获取聊天视频封面
export const  getOssVideoCover = (url)=> {
  if (!url) {
    return null
  } else {
    return url + '?x-oss-process=video/snapshot,t_5000,f_jpg,w_300,m_fast' //OSS 缩略图规则
  }
}
